5cde87482b9ca0dbebef8352ca39d98096c561ef,app/src/main/java/com/comicviewer/cedric/comicviewer/NewDrawerActivity.java,NewDrawerActivity,onCreate,#Bundle#,50
Before Change
.withTextColor(iconColor),
new PrimaryDrawerItem().withName(R.string.collections)
.withIcon(R.drawable.castle)
.withIconTintingEnabled(true)
.withIconColor(iconColor)
.withTextColor(iconColor),
new PrimaryDrawerItem().withName(R.string.cloud_storage)
.withIcon(R.drawable.cloud)
.withIconTintingEnabled(true)
.withIconColor(iconColor)
.withTextColor(iconColor),
new PrimaryDrawerItem().withName(R.string.statistics)
.withIcon(R.drawable.stats)
.withIconTintingEnabled(true)
.withIconColor(iconColor)
.withTextColor(iconColor),
new PrimaryDrawerItem().withName(R.string.synchronization)
.withIcon(R.drawable.sync)
.withIconTintingEnabled(true)
.withIconColor(iconColor)
.withTextColor(iconColor),
new DividerDrawerItem(),
new SecondaryDrawerItem().withName(R.string.settings)
.withIcon(R.drawable.settings)
.withIconTintingEnabled(true)
.withIconColor(iconColor)
.withTextColor(iconColor),
new SecondaryDrawerItem().withName(R.string.about)
.withIcon(R.drawable.about)
.withIconTintingEnabled(true)
.withIconColor(iconColor)
.withTextColor(iconColor)
)
.withOnDrawerItemClickListener(new Drawer.OnDrawerItemClickListener() {
@Override
After Change
new ColoredPrimaryDrawerItem()
.withName(R.string.collections)
.withIcon(R.drawable.castle)
.withIconTintingEnabled(true),
new ColoredPrimaryDrawerItem()
.withName(R.string.cloud_storage)
.withIcon(R.drawable.cloud)
.withIconTintingEnabled(true),
new ColoredPrimaryDrawerItem()
.withName(R.string.statistics)
.withIcon(R.drawable.stats)
.withIconTintingEnabled(true),
new ColoredPrimaryDrawerItem()
.withName(R.string.synchronization)
.withIcon(R.drawable.sync)
.withIconTintingEnabled(true),
new DividerDrawerItem(),
new ColoredSecondaryDrawerItem()
.withName(R.string.settings)
.withIcon(R.drawable.settings)
.withIconTintingEnabled(true),
new ColoredSecondaryDrawerItem()
.withName(R.string.about)
.withIcon(R.drawable.about)